package com.societyGames.codeAlong.state.codeExercise.model
{
	import flash.events.Event;
	
	public class SyntaxErrorMessageEvent extends Event
	{
		public static const SYNTAX_ERROR:String = "SYNTAX_ERROR_MESSAGE";
		private var _syntaxErrorMessage:SyntaxErrorMessage;
		
		public function get syntaxErrorMessage():SyntaxErrorMessage
		{
			return this._syntaxErrorMessage;
		}
		
		public function SyntaxErrorMessageEvent(type:String, message:SyntaxErrorMessage, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
			this._syntaxErrorMessage = message;
		}
	}
}